Skip to content

Setting the version of java via gradle#346

Open
rokadias wants to merge 1 commit intomainfrom
saqib/set-java-version-via-gradle
Open

Setting the version of java via gradle#346
rokadias wants to merge 1 commit intomainfrom
saqib/set-java-version-via-gradle

Conversation

@rokadias
Copy link
Copy Markdown
Contributor

Why are we doing this?

I've accidentally deployed to the robot using java 21 since that's what my language server uses, and I've had students have issues with getting the "right" java version installed.

Excerpt:

Using Java toolchains allows Gradle to automatically download and manage the required JDK version for your build. It ensures that the correct Java version is used for both compilation and execution.

https://docs.gradle.org/current/userguide/toolchains.html#sec:using-java-toolchains

@rokadias rokadias requested a review from a team March 28, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant